package rc.work.module.bpm.service.problem;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import rc.work.module.bpm.controller.admin.problem.vo.Node;
import rc.work.module.bpm.controller.admin.problem.vo.ProblemSaveVO;

import java.util.List;
import java.util.Map;

public interface ProblemService {
    Long createProblem(ProblemSaveVO createReqVO);

    Map<String, Object> getBpmHistoryForGraph(String groupId);

    List<Node> getBpmActivity(String groupId);

    Boolean appro(@NotNull(message = "流程实例不能为空") String insId);
}
